<template>
	<view class="">
		<view>
			i'm {{ name }}
			<text>{{count}}</text>
		</view>
	</view>
</template>

<script setup>
	import config from '@/common/js/env.config.js'
	const props = defineProps({
		name: {
			type: String,
			default: '用户名'
		}
	})
	
	console.log('env', config)

	const count = ref(0)

	function updateCount() {
		count.value++
	}

	defineExpose({
		updateCount
	})
</script>

<style lang="scss">

</style>